package br.com.ToComFome.activitys;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.WindowManager;
import android.widget.Button;
import br.com.ToComFome.R;

public class LoginActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
				WindowManager.LayoutParams.FLAG_FULLSCREEN);
		
		
		final Context ctx = this;
		setContentView(R.layout.activity_login);
		
		Button btnIniciar = (Button)findViewById(R.id.btnAvancarLogin);
		
		btnIniciar.setOnClickListener(new OnClickListener() {			
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(ctx, MainActivity.class);
				finish();
				startActivity(intent);
			}
		});
	}
}
